class RelatedWords < ActiveRecord::Migration
  def self.up
    create_table :related_words, :id => false do |t|
      t.references :word, :null => false
      t.integer :related_word_id, :null => false
    end
  end

  def self.down
    drop_table :related_words
  end
end
